﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<EzDesk.Apps.Model.Attendance.LeaveInfo>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    EzDesk - 考勤
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="auditLeave">
        <div class="sec">
            <p>
                申请人：<%= Html.SimpleUserLabel(Model.User) %></p>
            <p>
                申请时间：<%= Model.CreateOn%></p>
            <p>
                假期类别：<%= Model.LeaveTypeName%></p>
            <p>
                开始时间：<%= Model.StartTime%></p>
            <p>
                结束时间：<%= Model.EndTime%></p>
            <p>
                备注：<%= Model.Description%></p>
        </div>
        <div>
            <div class="sec">
                <form method="post" action="/Attendance/DoAuditLeave">
                <%= Html.Hidden("leaveInfoId", Model.Id.ToString())%>
                <div class="sec">
                    <textarea name="auditText" rows="4"></textarea>
                </div>
                <input type="submit" class="button" value="同意" />
                <input type="submit" class="button" value="拒绝" />
                </form>
            </div>
        </div>
</asp:Content>
